<DIV class="foo" id="w0">
  "\n    "
  <SPAN>
    "\n        before\n    "
  "\n    1\n    "
  <DIV class="bar" id="w1">
    "\n        2\n    "
  "\n    3\n    "
  <SPAN class="after-prime">
    "\n        4\n    "
  "\n    5\n"
